<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 400px;
            height: 300px;
            border: 15px solid pink;
            border-image-source: url(./Snipaste_2022-10-01_10-02-17.png);
            border-image-slice: 30 30 30 30;
            /* border-image-slice: 30; */
            /* 这个属性默认的是border的宽度 但是有区别，这个是  边框 */
            border-image-width: 30px;  
            border-image-repeat: repeat;
            border-image-repeat: round;
        }
    </style>
</head>
<body>
    <div class="box">

    </div>
 


</body>
</html>